package com.itheima.po;

public class NodeAndUser {
    private Integer node_id; //笔记id
    private Integer user_id; //笔记上传人的id
    private String nodename; //笔记名
    private String class_name; //笔记类别
    private String language; //笔记语言
    private String time; //笔记的上传时间
    private Integer popularity; //笔记人气
    private String username; //用户名
    private String phone; //电话
    private String sex; //性别

    public Integer getNode_id() {
        return node_id;
    }

    public void setNode_id(Integer node_id) {
        this.node_id = node_id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getNodename() {
        return nodename;
    }

    public void setNodename(String nodename) {
        this.nodename = nodename;
    }

    public String getClass_name() {
        return class_name;
    }

    public void setClass_name(String class_name) {
        this.class_name = class_name;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Integer getPopularity() {
        return popularity;
    }

    public void setPopularity(Integer popularity) {
        this.popularity = popularity;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "NodeAndUser{" +
                "node_id=" + node_id +
                ", user_id=" + user_id +
                ", nodename='" + nodename + '\'' +
                ", class_name='" + class_name + '\'' +
                ", language='" + language + '\'' +
                ", time='" + time + '\'' +
                ", popularity=" + popularity +
                ", username='" + username + '\'' +
                ", phone='" + phone + '\'' +
                ", sex='" + sex + '\'' +
                '}';
    }
}
